<?php
defined('BASEPATH') OR exit('No direct script access allowed');

//$config['ENVIRONMENT'] = 'testeh'; //eh 文件上传到腾讯cos用
//$config['imageurl'] = 'http://img.easyhospital.net/';//eh COS文件存储域名(正式 http://img.easyhospital.com.cn/)

$config['imageurl']    = 'http://mbang-website.oss-cn-hangzhou.aliyuncs.com/';//阿里云访问图片域名
$config['cdnimageurl'] = 'http://mbang-website.oss-cn-hangzhou.aliyuncs.com/';//eh oss cdn图片地址

//阿里云上传oss配置
$config['ali_oss_accesskeyid']     = 'LTAIX3ExhnmY1qew';
$config['ali_oss_accesskeysecret'] = 'M7R4aP6MFiluqi7bvBJGIEAMrJ4KX6';
$config['ali_oss_endpoint']        = 'oss-cn-hangzhou.aliyuncs.com';
$config['ali_oss_iscname']         = false;
$config['ali_oss_securitytoken']   = NULL;
$config['ali_oss_bucket']          = 'mbang-website';

$config['static_path']  = '';
$config['resource_dir'] = 'assets';
$config['time_format'] = 'Y-m-d H:i:s';
$config['no_picture'] = 'res/no_picture.png';


//获取子项目名称
$sub_project = '';
$slash = DIRECTORY_SEPARATOR;//substr(FCPATH, -1);
if (in_array($slash, array('/', '\\'))) {
    $paths = explode($slash, FCPATH);
    $sub_project = $paths[count($paths) - 2];
    $sub_project = trim($sub_project, '/');
    $sub_project = trim($sub_project, '\\');
}

$config['sub_project'] = $sub_project;//'merchant';

//推送短信
$config['sms_send_interface']   = 'http://sh2.ipyy.com/smsJson.aspx';
$config['sms_verify_interface'] = 'http://sh2.ipyy.com/statusJsonApi.aspx';
$config['sms_account']          = 'jkwl095';
$config['sms_password']         = 'jkwl09566';
$config['sms_prefix']           = '【天下医家】';
$config['sms_page_size']        = 500;  //一次推送多少用户


